﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace Torch.WL.Business.Interface
{
    public enum MessageCodeType
    {
        [Description("OK")]
        Success=0,
        [Description("哦,系统开小差了")]
        Fail = -1,
        [Description("传入参数错误")]
        WrongRequestPara=-10,

        [Description("Error")]
        Error = -100,

        [Description("从json转换对象时出错")]
        ConvertFromJsonError = -101,

        [Description("无效Type命令")]
        InvalidCommandType = -102
        
    }

    public enum CommandType
    {
        [Description("登陆")]
        basic = 0,
        [Description("获取展会信息")]
        expo = 1
    }




}
